package au.edu.swin.swinvehicle.corporateclient;

import java.util.List;
import javax.ejb.Remote;

/**
 * CorporateClientManagerRemote
 * --------------------------
 * This is the remote interface of CorporateClient
 *
 *
 * @author Dany Gunawan *
 * @lastmodify 2009-05-12
 */
@Remote
public interface CorporateClientManagerRemote {

    public void addCorporateClient(CorporateClientDetailedTO to) throws CorporateClientManagerException;

    public void editCorporateClient(CorporateClientDetailedTO to) throws CorporateClientManagerException;

    public void deleteCorporateClient(Long id) throws CorporateClientManagerException;

    public List<CorporateClientTO> getAllCorporateClients() throws CorporateClientManagerException;

    public List<CorporateClientDetailedTO> getAllDetailedCorporateClients() throws CorporateClientManagerException;

    public CorporateClientDetailedTO getCorporateClient(Long id) throws CorporateClientManagerException;
}
